package ext.tianma.bom.service.imp;


import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import org.apache.log4j.Logger;

import wt.change2.WTChangeOrder2;
import wt.fc.PersistenceHelper;
import wt.fc.QueryResult;
import wt.log4j.LogR;
import wt.pds.StatementSpec;
import wt.query.ClassAttribute;
import wt.query.OrderBy;
import wt.query.QuerySpec;
import wt.query.SearchCondition;
import wt.util.WTException;
import wt.workflow.engine.ProcessData;
import wt.workflow.engine.WfProcess;
import wt.workflow.engine.WfState;

/**
 * ERP webservice interface
 * 
 * @author gjw
 */
@WebService(name = "TMPartService",
        targetNamespace = "http://seed.plm.com/TMPartService")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
public interface TMPartService {

    @WebMethod(operationName = "erpFeedback")
    @WebResult(name = "erpFeedback")
    public String erpFeedback(@WebParam(name = "ecnNumber") String ecnNumber, 
            @WebParam(name = "status")boolean status, 
            @WebParam(name = "message")String message);

}